package com.strongwell.awe.service;

import com.strongwell.awe.model.CmsCategoryEntity;
import com.strongwell.awe.model.Menu;

import java.util.List;
import java.util.Map;

/**
 * 栏目表
 * 
 * @author bridgezn
 * @email 39440421@qq.com
 * @date 2018-09-13 22:15:42
 */
public interface CmsCategoryService {
	
	CmsCategoryEntity queryObject(Long id);
	
	List<CmsCategoryEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CmsCategoryEntity cmsCategory);
	
	int update(CmsCategoryEntity cmsCategory);
	
	int delete(Long id);
	
	int deleteBatch(Long[] ids);

    int delById(Long id);

    int delPatch(String cmscategorystr);

	CmsCategoryEntity queryName(String name);

	List<CmsCategoryEntity> queryNameList();

	List<CmsCategoryEntity> queryCategoryList();

	List<CmsCategoryEntity> selCategoryByParentId();

	String selCategoryList();
}
